package com.yunji.order.vo;

import com.yunji.common.utils.Pair;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2025/3/20 14:15
 * @description : TODO
 **/
@Data
public class OrderDetailVO {
    @ApiModelProperty(value = "订单明细ID")
    private Long orderDetailId;
    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品数量")
    private Integer productNums;

    @ApiModelProperty("sku")
    private String sku;

    @ApiModelProperty("商品类型")
    private Integer productType;

    @ApiModelProperty("商品类型名称")
    private String productTypeName;

    @ApiModelProperty("商品单位")
    private Long productUnits;

    @ApiModelProperty("商品描述")
    private String subTitle;

    @ApiModelProperty("商品图片")
    private String albumPics;

    @ApiModelProperty("原销售价")
    private BigDecimal price;

    @ApiModelProperty("原销售单价")
    private BigDecimal unitPrice;

    @ApiModelProperty("成本总价")
    private BigDecimal costPrice;

    @ApiModelProperty("成本单价")
    private BigDecimal costUnitPrice;

    @ApiModelProperty("网点销售总价")
    private BigDecimal siteSalePrice;

    @ApiModelProperty("网点销售单价")
    private BigDecimal unitSalePrice;

    @ApiModelProperty("应收金额")
    private BigDecimal payableAmount;

    @ApiModelProperty("应收单价金额")
    private BigDecimal payableUnitAmount;

    @ApiModelProperty("退款数量")
    List<Pair<Integer, Integer>> refundStatusNums;
}
